package com.csxy.six.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(name = "GoodsCategory对象", description = "商品分类信息")
public class GoodsCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goods_cat_id", type = IdType.AUTO)
    private Integer goodsCatId;

    @Schema(description = "商品分类")
    private String name;
}